package com.gdyx.app.web.svc;

import com.gdyx.app.web.model.MpsOrgUser;

import java.util.List;
import java.util.Map;

public interface MpsOrgUserSvc {
    void save(MpsOrgUser o);

    void delete(String id);

    void update(MpsOrgUser o);

    int count(Map<String, Object> map);

    List<MpsOrgUser> findMpsOrgUsersByUid(String userId);

    List<MpsOrgUser> findMpsOrgUsersByOid(String id);

    MpsOrgUser findMpsOrgUsersById(String id);

    List<MpsOrgUser> findMpsOrgUsers(Map<String, Object> map);

    void repulse(String id);

    void applySave(String uid,String orgId,String descr);

    void ApplySave(String id);

    void invite(String id,String orgId);

    MpsOrgUser findMpsOrgUsersByIdAndOrgId(String orgId, String userId);
}

